-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(styles): updated float utility #3752
base: main
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: 8289085 The changes in this PR will be included in the next version bump. This PR includes changesets to release 16 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Related Previews |
packages/documentation/src/stories/utilities/float/float.docs.mdx
Outdated
Show resolved
Hide resolved
packages/documentation/src/stories/utilities/float/float.docs.mdx
Outdated
Show resolved
Hide resolved
packages/documentation/src/stories/utilities/float/float.module.scss
Outdated
Show resolved
Hide resolved
packages/documentation/src/stories/utilities/float/float.stories.ts
Outdated
Show resolved
Hide resolved
packages/documentation/src/stories/utilities/float/float.stories.ts
Outdated
Show resolved
Hide resolved
packages/documentation/src/stories/utilities/float/float.stories.ts
Outdated
Show resolved
Hide resolved
packages/documentation/src/stories/utilities/float/float.snapshot.stories.ts
Outdated
Show resolved
Hide resolved
Co-authored-by: Oliver Schürch <[email protected]>
Co-authored-by: Oliver Schürch <[email protected]>
…esign-system into 3647-utilities-float
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good work so far 😄 Just some more thoughts.
packages/documentation/src/stories/utilities/float/float.stories.ts
Outdated
Show resolved
Hide resolved
packages/documentation/src/stories/utilities/float/float.stories.ts
Outdated
Show resolved
Hide resolved
packages/documentation/src/stories/utilities/float/float.stories.ts
Outdated
Show resolved
Hide resolved
Quality Gate passedIssues Measures |
}, | ||
decorators: [ | ||
(story: StoryFn, context: StoryContext) => { | ||
const storyTemplate = html`<div class="clearfix float-example"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove this obsolete class
const storyTemplate = html`<div class="clearfix float-example"> | |
const storyTemplate = html`<div class="clearfix"> |
|
||
return html` | ||
<div class="${floatClass}"> | ||
Sample Text ${args.floatPosition ? '(float-' + args.floatPosition + ')' : ''} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for adding a CR for this again, but it would be helpful to also know on which breakpoint the content should be floated.
Sample Text ${args.floatPosition ? '(float-' + args.floatPosition + ')' : ''} | |
Content ${floatClass ? '(' + floatClass + ')' : ''} |
it('float', () => { | ||
cy.visit('/iframe.html?id=snapshots--float'); | ||
cy.get('.float-example', { timeout: 30000 }).should('be.visible'); | ||
cy.percySnapshot('Float', { widths: [320, 1440] }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cy.percySnapshot('Float', { widths: [320, 1440] }); | |
cy.percySnapshot('Float', { widths: [320, 400, 600, 780, 1024, 1280, 1440] }); |
No description provided.